package org.example.myleet.p769;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(1 == solution.maxChunksToSorted(new int[]{4,3,2,1,0}));
        Assert.isTrue(4 == solution.maxChunksToSorted(new int[]{1,0,2,3,4}));
        Assert.isTrue(3 == solution.maxChunksToSorted(new int[]{1,0,3,2,4}));
    }
}
